export const getBase64 = (file) => {
    return new Promise((resolve, reject) => {
		wx.getFileSystemManager().readFile({
			filePath:file,
			encoding:"base64",
			success:res=>{
				resolve("data:image/jpeg;base64,"+res.data)
			}
		})
    });
}